package assist.service.gwt.interfaces;

import java.util.Date;
import java.util.Set;

import assist.domain.model.Game;
import assist.domain.model.Player;
import assist.domain.model.Stats.Row;
import assist.domain.model.StatsQuery.RowQuery;
import assist.domain.model.Team;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("hockeystatsservice")
public interface HockeyStatsService extends RemoteService 
{
  String helloHockey();

Set<Player> getTeamPlayers(Team team, Date start, Date end);

Set<Team> getTeams();

Set<Game> getGames(Team team, Date start, Date end);

Set<Player> getTeamPlayers(Team team, Set<Game> set);
Row getStatsRow(RowQuery rowQuery);
}
